﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Ivy.SiteGeneralBasic.Entity;

namespace Ivy.SiteGeneralBasic.IBusinessLogic
{
    public interface ISiteGeneralBasic
    {
        #region Subscription
        bool RegisterNewSubscription(Subscription SubscriptionEntity);
        Subscription GetByEmail(string EmailID);
        List<Subscription> GetAllSubscription();
        //bool SendSubscriptionNotificationEmail(string SubscriberEmailId, string SubscriptionItemDescription);
        #endregion Subscription

        #region Feedback
        bool SubmitFeedBack(FeedbackUser feedbackUserEntity, Feedback feedbackEntity);
        bool CreateFeedBackUser(FeedbackUser FeedbackUser);
        bool SendFeedbackNotificationEmail(string FeedbackUserName, string FeedbackUserEmailId, string FeedbackText);
        List<Feedbacks> GetAllUserFeedback();
        List<Feedbacks> GetAllUserContactRequest();
        FeedbackUser GetByFeedbackUserEmailId(string FeedbackUserEmail);
        Feedbacks GetByFeedbackUserByKey(int FeedbacksKey);
        #endregion Feedback
    }
}
